package com.itheima.task;

public class PersonDemo5 {
    private String propertyId;

    private String propertyName;

    private int propertyAge;

    private boolean propertyFlag;



    public PersonDemo5() {
    }

    public PersonDemo5(String propertyId, String propertyName, int propertyAge, boolean propertyFlag) {
        this.propertyId = propertyId;
        this.propertyName = propertyName;
        this.propertyAge = propertyAge;
        this.propertyFlag = propertyFlag;
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public int getPropertyAge() {
        return propertyAge;
    }

    public void setPropertyAge(int propertyAge) {
        this.propertyAge = propertyAge;
    }

    public boolean isPropertyFlag() {
        return propertyFlag;
    }

    public void setPropertyFlag(boolean propertyFlag) {
        this.propertyFlag = propertyFlag;
    }

    @Override
    public String toString() {
        return "PersonDemo5{" +
                "propertyId='" + propertyId + '\'' +
                ", propertyName='" + propertyName + '\'' +
                ", propertyAge=" + propertyAge +
                ", propertyFlag=" + propertyFlag +
                '}';
    }
}
